package net.lab1024.sa.admin.module.business.school.room.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 房间 更新表单
 *
 * @Author ZouYang
 * @Date 2024-12-28 12:10:44
 * @Copyright ZouYang
 */

@Data
public class RoomUpdateForm {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "id 不能为空")
    private Long id;

    @Schema(description = "楼层ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "楼层ID 不能为空")
    private Long floorId;

    @Schema(description = "房间号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "房间号 不能为空")
    private Integer number;

    @Schema(description = "房间名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "房间名称 不能为空")
    private String name;

}